// types.ts
// MessageAlert 组件相关类型

export enum MessageTypeEnum {
  success = 'success',
  warning = 'warning',
  info = 'info',
  error = 'error',
}

export type MessageAlertProps = {
  title?: string
  content?: string
  type?: MessageTypeEnum | string
  width?: number
  duration?: number | boolean
  showBottom?: boolean
  closeOnClickModal?: boolean
  cancel?: () => void
  confirm?: () => void
}
